package com.gaomall.seckill.controller;

import com.gaomall.seckill.dto.OrderDTO;
import com.gaomall.seckill.utils.ResultVOUtil;
import com.gaomall.seckill.vo.ResultVO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("order/")
public class OrderControllor {

    @PostMapping("creat-order")
    public ResultVO creatOrder(@RequestBody OrderDTO orderDTO){


        return  ResultVOUtil.success();
    }
}
